#_______________________Pmake___________________________________________________
#
#	Makefile : 	HDF5 link
# 	May 2018	Bert
#_______________________________________________________________________________

include ( PreInit.cmake )

if ( HDF5_FOUND )

  include( PreModInit.cmake )

  set( OD_IS_PLUGIN TRUE )
  set( OD_MODULE_DEPS General )

  set( OD_TEST_PROGS hdf5.cc )

  set( OD_MODULE_SOURCES
      hdf5accessimpl.cc
      hdf5readerimpl.cc
      hdf5writerimpl.cc
      odhdf5pi.cc
  )

  set ( OD_PLUGIN_ALO_EXEC ${OD_MAIN_EXEC} ${OD_ATTRIB_EXECS} ${OD_VOLUME_EXECS}
			 ${OD_SEIS_EXECS} ${OD_PRESTACK_EXECS}
			 ${OD_ZAXISTRANSFORM_EXECS} test_hdf5 )

  OD_INIT_MODULE()

endif( HDF5_FOUND )
